package com.tust.dao;

import com.tust.domain.Teaching;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeachingDao {
    int insertTeaching(Teaching teaching);
    int deleteTeaching(Teaching teaching);
    int updateTeaching(@Param("oldTeaching") Teaching oldTeaching, @Param("teaching") Teaching teaching);
    List<Teaching> selectTeaching(Teaching teaching);
    List<Teaching> selectTeachingByCourseNum(@Param("courseNum") String courseNum);
    List<Teaching> selectTeachingByTeacherNum(@Param("teacherNum") String teacherNum);
    List<Teaching> selectTeachingBySchoolYear(@Param("schoolYear") String schoolYear);
    List<Teaching> selectTeachingBySchoolSemester(@Param("schoolSemester") String schoolSemester);
    List<Teaching> selectTeachingByTeachTimes(@Param("teachTimes") String teachTimes);
    List<Teaching> selectTeachingByCoachTimes(@Param("coachTimes") String coachTimes);
    List<Teaching> selectTeachingByLeadExperimentTimes(@Param("leadExperimentTimes") String leadExperimentTimes);
    List<Teaching> selectTeachingAll();
}
